package com.example.oa_boot.test.mapper;

import com.example.oa_boot.test.domain.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 001
* @description 针对表【t_dept】的数据库操作Mapper
* @createDate 2023-05-08 17:03:02
* @Entity generator.domain.Dept
*/
@Mapper
public interface DeptMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Dept record);

    int insertSelective(Dept record);

    Dept selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);
    List<Dept> selectall();

    List<Dept> select();
}
